﻿using System.Collections.Generic;
using VVA.Data.Entity;
using VVA.Data.Service;

namespace VVA.Website.UI.Areas.Admin.Models.Article
{
    public class ArticleDetailModel
    {
        #region Property

        public IList<Taxonomy> Categories { get; set; }

        public VVA.Data.Entity.Article Model { get; set; }

        #endregion

        #region Constructor

        public ArticleDetailModel()
        {
            var service = new TaxonomyService();
            Categories = service.GetAll("Article", "vi-VN");
            Model = new Data.Entity.Article();
        }

        #endregion
    }
}